#pragma once

#include <windows.h>

#ifdef _DEBUG
	VOID DbgPrint(PCHAR pcFormat,...);
#else
 #define DbgPrint
#endif

VOID FixDWORD(BYTE *Data,DWORD Size,DWORD Old,DWORD New);
PVOID MapBinary(LPCSTR lpPath,DWORD dwFileAccess,DWORD dwFileFlags,DWORD dwPageAccess,DWORD dwMapAccess,PDWORD pdwSize);
DWORD RvaToOffset(PIMAGE_NT_HEADERS pPE,DWORD dwRva);

